<template>
    <div class="page_mod">
        <div class="form_mod">
            <span class="login2" >如果您有账户，可以<router-link to="/login" class="login">登录</router-link></span>
            <span class="title_mod">管理员注册</span>
            <el-form :model="adminForm" label-width="120px">
                <el-form-item label="邮箱">
                    <el-input v-model="adminForm.admin_Email" />
                </el-form-item>
                <el-form-item label="密码">
                    <el-input v-model="adminForm.admin_Password" />
                </el-form-item>
            </el-form>
            <el-form-item>
                <el-button type="primary" @click="onSubmit">注册</el-button>
                <el-button>Cancel</el-button>
            </el-form-item>
        </div>
    </div>
</template>
<style>
.page_mod {
    width: 1684px;
    height: 903px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/photos/music80.jpg') no-repeat fixed center center;
    background-size: cover;
}

.form_mod {
    width: 30%;
    height: 50%;
    background-color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(50px);
    color: white;
    border-radius: 10px;
}

.login2{
    position: absolute;
    left: 20px;
    top: 20px;
}

.login {
    text-decoration: none;
    color: #e58c43;

}

.title_mod {
    margin-bottom: 50px;
    font-size: 20px;
    font-weight: 800;
}

.form_mod .el-form-item__label {
    color: #ffffff;
}
</style>
<script>
export default {
    data() {
        return {
            loading: false,
            adminForm: {
                admin_Email: '',
                admin_Password: '',
            }
        }
    },
    mounted() {
        //this.getCookie();
    },
    methods: {

    }
}
</script>